Fix message of multi-line occur regexps and multi-buffer header lines.
authorJuri Linkov <juri@jurta.org>
Sun, 21 Mar 2010 10:52:51 +0000 (12:52 +0200)
committerJuri Linkov <juri@jurta.org>
Sun, 21 Mar 2010 10:52:51 +0000 (12:52 +0200)
commitb752e816338c4f1f96d3b3c36b4aa73f1d0aa95e
treec6b04613d8f4c0dacbc67f393a7ae583f69955d1
parent697be39a9f7d5a0e22956f7e122f3a65d8063335
Fix message of multi-line occur regexps and multi-buffer header lines.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html

* replace.el (occur-1): Don't display regexp if it is longer
than window-width.  Use `query-replace-descr' to display regexp.
(occur-engine): Don't display regexp in the buffer header for
multi-buffer occur.  Display a separate header line with total
match count and regexp for multi-buffer occur.
Use `query-replace-descr' to display regexp.
lisp/ChangeLog
lisp/replace.el